#!/bin/bash


for i in 182 199 100 126 88
do
    ping -c 3 192.168.11.$i >/dev/null
    if [ $? -eq 0 ]; then
        echo "192.168.11.$i is ok!!!!!!!!!!!"
    else
        echo "192.168.11.$i is down!!!!!!!!!!!"
    fi
done